﻿<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="Navigation.ascx.vb"
    Inherits="ORS_Cuong.Navigation" %>
<div class="Left_Menu">
    <%  Dim strUrl As String
        strUrl = HttpContext.Current.Request.Url.AbsolutePath
    %>
    <table>
        <%  
            If Not IsNothing(CStr(Session("User_Type"))) Then%>
        <tr>
            <td class="menu_title">
                MANAGE INFORMATION
            </td>
        </tr>
        <%
            If CStr(Session("User_Type")) = "True" Then%>
        <tr>
            <td class="<%=IIf(strUrl.Contains("/Admin_Page.aspx") Or strUrl.Contains("/Add_New_User.aspx"), "menu_highlight", "menu_item") %>">
                <a href="Admin_Page.aspx">Manage User Information</a>
            </td>
        </tr>
        <%  End If
                        
        %>
        <tr>
            <td class="<%=IIf(strUrl.Contains("/Lecture_View.aspx"), "menu_highlight", "menu_item") %>">
                <a href="Lecture_View.aspx">Lecture Information</a>
            </td>
        </tr>
        <tr>
            <td class="<%=IIf(strUrl.Contains("/Student_View.aspx"), "menu_highlight", "menu_item") %>">
                <a href="Student_View.aspx">Student Information</a>
            </td>
        </tr>
        <tr>
            <td class="<%=IIf(strUrl.Contains("/Interview_Session.aspx"), "menu_highlight", "menu_item") %>">
                <a href="Interview_Session.aspx">Student Interview Sessions</a>
            </td>
        </tr>
        <tr>
            <td class="menu_title">
                MANAGE SCHEDULE
            </td>
        </tr>
        <tr>
            <td class="<%=IIf(strUrl.Contains("/DraftSchedule.aspx"), "menu_highlight", "menu_item") %>">
                <a href="DraftSchedule.aspx">Draft Schedule</a>
            </td>
        </tr>
        <%
        End If%>
        <tr>
            <td class="<%=IIf(strUrl.Contains("/FinalSchedule.aspx"), "menu_highlight", "menu_item") %>">
                <a href="FinalSchedule.aspx">Final Schedule</a>
            </td>
        </tr>
    </table>
    <div class="menu_bottom">
    </div>
</div>
